<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>MVVM模型</title>
    <script src="../js/vue.min.js"></script>
</head>

<body>
    <div id="root">
        <h1>学校名称：{{name}}</h1>
        <h1>学校名称：{{adress}}</h1>

    </div>

    <script text="text/javascript">
        const vm = new Vue({
            el: '#root',
            data() {
                return {
                    name: '光辉小学',
                    adress: '测试路'
                }
            }
        });
        console.log('卜俊杰', vm);
    </script>

</body>

</html>